package com.wwj.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwj.springboot.entity.CmfzAdmin;

import java.util.Map;

/**
 * @author wwj
 */
public interface CmfzAdminService extends IService<CmfzAdmin> {




    Map addAdmin(CmfzAdmin admin);

    CmfzAdmin selectOne(int id);

    Map updateAdmin(CmfzAdmin admin);
    Map deleteAdmin(int id);

    public CmfzAdmin selectByName(String username);

    Map selectByPage(int page, int limit, String username);
}
